Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environ and environ_pass parameters to exec/3 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darkling
Copy link

The {environ, EnvMap} option sets values in the environment of the
executed process, using the key of the map as the environment variable
name and the value of the map as the environment variable's value.

The {environ_pass, EnvList} option takes a list of environment variable
names, and takes their values from the current environment to pass into
the subprocess.

If a variable is specified in both options, the environ option takes
precedence.

The {environ, EnvMap} option sets values in the environment of the
executed process, using the key of the map as the environment variable
name and the value of the map as the environment variable's value.

The {environ_pass, EnvList} option takes a list of environment variable
names, and takes their values from the current environment to pass into
the subprocess.

If a variable is specified in both options, the environ option takes
precedence.

Signed-off-by: Hugo Mills <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant